package com.kbp.service;

import org.springframework.beans.factory.annotation.Autowired;

import com.kbp.model.User;
import com.kbp.model.dao.UserDAO;

public class TestServiceImp implements TestService {
	
	@Autowired
	private UserDAO userDAO;
	public UserDAO getUserDAO() {
		return userDAO;
	}
	public void setUserDAO(UserDAO userDAO) {
		this.userDAO = userDAO;
	}
	@Override
	public User get() {		
		return userDAO.find();
	}
}